/*
package com.ssfeng.youxia.mapper.impl;

import com.ssfeng.youxia.dao.impl.MybatisBaseDaoImpl;
import com.ssfeng.youxia.mapper.RoleMapper2;
import com.ssfeng.youxia.model.Role;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

*/
/**
 * Created by liyuhang on 2019-09-13.
 *//*

@Repository("roleMapperImpl")
public class RoleMapperImpl extends MybatisBaseDaoImpl<Role,Long> implements RoleMapper2 {

    private static final Logger logger = LoggerFactory.getLogger(RoleMapperImpl.class);

    @Override
    public List<String> getUserRoleCodes(Long userId) throws Exception {
        Map<String, Object> paramMap = new HashMap<>();
        paramMap.put("user_id", userId);
        List<String> list = getSqlSession().selectList("getUserRoleCodes", paramMap);
        return list;
    }
}
*/
